<?php 
// print_r($categories);
?>

	<ul class="breadcrumb">
	  <li><a href="<?php echo $this->webroot;?>">Home</a> <span class="divider">/</span></li>
	  <li class="active"><?php echo __("Lista categorie") ?></li>
	</ul>

	<ul>
	<?foreach($categories as $key=>$value){?>
		<li>
			<?php echo $this->Acl->link("<i class='icon-pencil'></i>",array("controller" => "Categories", 'action' => 'edit', $key), array('escape'=>false)); ?>&nbsp;<?echo $value?>
			<?php echo $this->Acl->link("<i class='icon-trash'></i>",array("controller" => "Categories", 'action' => 'delete', $key), array('data-confirm'=>'true', 'escape'=>false)); ?>
		</li>
	<?}?>
	</ul>
	<p>
		<?php echo $this->Acl->link("<i class='icon-plus'></i>",array("controller" => "Categories", 'action' => 'add'), array('class'=>'btn', 'escape'=>false)); ?>
	</p>


